<mat-card class="example-card">
    <mat-card-header>
      <div mat-card-avatar class="example-header-image"><img src="{{video.user?.avatar || '暂无' }}" alt=""></div>

      <mat-card-title>{{video.user?.nickname || '暂无'}}</mat-card-title>

     
      <mat-card-subtitle class="videodata">播放量:{{video.countLike|toW}} &nbsp;&nbsp;视频bv号:{{video.bvId}} &nbsp;&nbsp; 发布时间:{{video.publishTime?.iso| date:"yyyy-MM-dd HH:mm:ss"}}</mat-card-subtitle>
   
      
    </mat-card-header>
    <!-- <video  src="{{video.image}}" controls autoplay></video> -->
    <img mat-card-image class="img-image" src="{{video.img}}">
    <mat-card-content>
      <p>
        {{video.content}}
      </p>
    </mat-card-content>
    <mat-card-actions>
      <button mat-button (click)="edit()" mat-button>编辑</button>
      <button *ngIf="video.isDeleted == false" (click)="delete()" mat-button>删除</button>
      <button *ngIf="video.isDeleted == true" (click)="restore()" mat-button>撤回</button>
      <button mat-button (click)="comment()" mat-button>评论</button>
    </mat-card-actions>
  </mat-card>
